﻿using System;
using System.Collections.Generic;

namespace SpatialHashLib.Topology.Indexing
{
    public partial class SpatialHash<T>
	{
        class Grid : Dictionary<CellCoord, Cell>
        {
            double cellSize;
            int index;

            public Grid(double cellSize, int index)
                : base()
            {
                this.cellSize = cellSize;
                this.index = index;
            }

            public double CellSize
            {
                get { return cellSize; }
            }

            public int Index
            {
                get { return index; }
            }
        }
	}
}
